Conversation
|
@mmaka1 looks like host build failed. |
|
@lgirdwood I tried to compile the host locally but it failed with: ../../src/include/host/topology.h:34:10: fatal error: sound/asoc.h: No such file or directory. Are some dependency checks missing in the config routine? |
|
@mmaka1 oh it could be you are missing the linux kernel headers on your dev machine. These can be installed via the package manager or are alternatively missing alsa-lib development package. |
|
@lrgirdwood Yes, I have the headers available in /usr/include/alsa on my machine. And assumed this should satisfy the build environment requirements. I just could not find anything like -I pointing there when followed the scripts/host-build-all.sh. That is why I asked about missing dependency checks (and compiler settings) in the configure. |
|
@mmaka1 @lgirdwood Had the same problem. It looks like the gcc searches for the alsa headers in /usr/include/sound not in /usr/include/alsa/sound. Maybe the path has changed with the different versions of alsa. I've just copied the headers and it worked, but I don't know what should be the right solution. |
6084313 to
c8f9ac6
Compare
|
@mmaka1 @tlauda can you try this diff --git a/configure.ac b/configure.ac
index 02c2579a..ba2cbf16 100644
--- a/configure.ac
+++ b/configure.ac
@@ -137,6 +137,8 @@ case "$with_arch" in
ARCH="host"
AC_SUBST(ARCH)
+
+ AC_CHECK_HEADERS([sound/asoc.h])
;;
*)
if test "$have_rimage" = "no" && test "$have_doc" = "no" ; thenThis should hopefully detect and add the include path to your -I flags |
626f89a to
be1ed48
Compare
Multiple alloctions of SG elements linked as a list replaced with single allocations of arrays. - The code flows (esp. cleanup-on-error) are simplified, - number of 64bytes chunk allocations reduced from 18 to 12 for example very basic topology, no increase in other areas (2-period sgls still fit), - more efficient allocation for host page tables on legacy platforms; instead of going from a desc array to the list that is copied to another list, there is just a single allocation of array moved to the destination component. Signed-off-by: Marcin Maka <marcin.maka@linux.intel.com>
be1ed48 to
d5eaa8f
Compare
|
@lgirdwood CI restarted and passed. |
|
@mmaka1 I will fix the header issue in a separate patch, looks a little more complex than my patch above. |
Multiple alloctions of SG elements linked as a list
replaced with single allocations of arrays.
the code flows (esp. cleanup-on-error) are simplified,
number of 64bytes chunk allocations reduced from 18 to 12 for
example very basic topology, no increase in other areas
(2-period sgls still fit),
more efficient allocation for host page tables on legacy platforms;
instead of going from a desc array to the list that is copied to
another list, there is just a single allocation of array moved
to the destination component.
Signed-off-by: Marcin Maka marcin.maka@linux.intel.com